package com.jtjrenren.android.taxi.passenger.bean.protocl;

import com.jtjrenren.android.taxi.passenger.Constants;


/**
 * Created by Administrator on 2016/1/21.
 */
public class OrderAcceptResponse extends BaseResponse {
    private int result; //0：不成功，1：成功
    private String orderSerialNo;
    private String driverInfo;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getOrderSerialNo() {
        return orderSerialNo;
    }

    public void setOrderSerialNo(String orderSerialNo) {
        this.orderSerialNo = orderSerialNo;
    }

    public String getDriverInfo() {
        return driverInfo;
    }

    public void setDriverInfo(String driverInfo) {
        this.driverInfo = driverInfo;
    }

    @Override
    public String toString() {
        return "OrderAcceptResponse{" +
                "result=" + result +
                ", orderSerialNo='" + orderSerialNo + '\'' +
                '}';
    }

    @Override
    public String getBrocastAction() {
        return Constants.ACTION_CONTROL_RESPONSE_ORDERACCEPT;
    }
}
